Fix `cargo-uninstall`.
authorCarlos Galdino <carloshsgaldino@gmail.com>
Thu, 19 Nov 2015 16:47:33 +0000 (14:47 -0200)
committerCarlos Galdino <carloshsgaldino@gmail.com>
Thu, 19 Nov 2015 17:47:12 +0000 (15:47 -0200)
With this patch users can type `cargo help uninstall` or `cargo
uninstall -h` and it will display the `USAGE` message as it was supposed
to.

Before the patch the command would display an error message about
invalid arguments.

Fixes #2138.

src/bin/uninstall.rs

index 20d4b5799141683d0b8de9842c0cfd09ea082ec1..e78bf605f38fb997aee728439fe7ae9063cf7dc6 100644 (file)
@@ -17,6 +17,7 @@ Remove a Rust binary
 
 Usage:
     cargo uninstall [options] <spec>
+    cargo uninstall (-h | --help)
 
 Options:
     -h, --help                Print this message